// 应用全局配置

//H5部署域名
let appUrl = ''
//接口域名
let apiUrl = ''
//后台地址域名
let adminUrl = ''
// 开发环境
if (process.env.NODE_ENV === 'development') {
	appUrl = 'https://xxx.com'
	apiUrl = 'https://xndz.kxfarm.cn'
	adminUrl = 'http://manage.movspeed.com'
}
// 生产环境(发布环境)
if (process.env.NODE_ENV === 'production') {
	appUrl = 'https://xxx.com'
	apiUrl = 'https://xndz.kxfarm.cn'
	adminUrl = 'http://manage.movspeed.com'
}

//超时时间，单位 ms
let timeout = 60000
// 不需要登录访问的界面
//let noLogin = ['/intake/login', '/intake/register', '/my/agreement', '/intake/forget', '/tab/index', '/tab/my']
// let noLogin = ['/intake/login', '/intake/register', '/my/agreement', '/intake/forget', '/tab/index', '/tab/my',
// 	'/my/setting', '/my/extension', '/my/model',
// 	'/my/modelInfo', '/my/couponModule', '/my/couponModuleShip', '/my/extensionShip', '/my/WriteOff',
// 	'/my/modelInfoShip', '/my/flow', '/my/activeInfo?key=2',, '/my/activeInfo?key=9',
// ]
let noLogin = ['/intake/login', '/intake/register', '/my/agreement', '/intake/forget', '/tab/index', '/tab/my',
	'/my/activeInfo', '/my/flow'

]
// let noLogin = ['/intake/login', '/intake/register', '/my/agreement', '/intake/forget', '/tab/index', '/tab/my','/my/activeInfo',
// 	'/my/model', '/my/agreement','/my/extension','/my/modelInfo', '/my/operation', '/my/modelInfoShip', '/my/operationInfo','/my/WriteOff', '/my/modelInfoShip',

// ]
let shangHuUrl = ['/my/extension', '/my/couponModule', '/my/WriteOff', '/my/publishTicket', '/my/cancleTicket',
	'/my/lineCharts', '/tab/my', '/my/flow', '/tab/index'
]
// 应用信息
let appInfo = {
	// 应用名称
	name: '虚拟店长',
	//微信公众号APPID
	appId: 'wxfe9039b76b5b3381',
	// 应用版本
	version: '1.1.0',
	// 应用logo
	logo: '/static/logo.png',
	// 官方网站
	site_url: 'http://miaoma.movspeed.com'
}

export {
	appUrl,
	apiUrl,
	adminUrl,
	timeout,
	noLogin,
	appInfo,
	shangHuUrl
}